enum EDialogResult;
enum EServerPacketType;
struct packet_base;
class CNetrekClientListener;



class CGameStateCreateNewLogin : public CBaseGameState, public IPacketSink
{
public:
    CGameStateCreateNewLogin() { }

    bool ProcessPacket(EServerPacketType, const packet_base* pPacket);
    void FrameStart();
    void Initialize(CNetrekClientListener* pListener);
    void Cleanup();

private:
    void ErrorDialogOK(EDialogResult) { }

    enum ELoginState
    {
        eLoginState_Idle,
        eLoginState_Verifying,
        eLoginState_LoggingIn
    };

    void CreateButtonClicked();
    void CancelButtonClicked();

    ELoginState m_eLoginState;
    char m_szLoginName[16];
    char m_szLoginPass[16];
};


